package com.rytx.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rytx.common.annotation.Excel;
import com.rytx.common.core.domain.BaseEntity;

/**
 * 发票管理对象 art_tax
 *
 * @author rytx
 * @date 2024-09-02
 */
public class ArtTax extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 发票抬头
     */
    @Excel(name = "发票抬头")
    private String takName;

    /** 公司税号 */
    @Excel(name = "公司税号")
    private String taxNumber;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String bank;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String bankNumber;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String userEmail;

    /** 创建用户id */
    @Excel(name = "创建用户id")
    private Long userId;

    /** 创建模板用户类型 0 个人 1公司 */
    @Excel(name = "创建模板用户类型 0 个人 1公司")
    private String userType;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 开发票状态 */
    @Excel(name = "开发票状态")
    private String status;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal amount;

    /** 公司id */

    private Long companyId;

    /** 开票类型 0 个人 1 企业 */
    @Excel(name = "开票类型 0 个人 1 企业")
    private Long takType;
    private String userName;//用户昵称

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCreatedAt(Date createdAt)
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt()
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt)
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt()
    {
        return updatedAt;
    }
    public void setTakName(String takName)
    {
        this.takName = takName;
    }

    public String getTakName()
    {
        return takName;
    }
    public void setTaxNumber(String taxNumber)
    {
        this.taxNumber = taxNumber;
    }

    public String getTaxNumber()
    {
        return taxNumber;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setBank(String bank)
    {
        this.bank = bank;
    }

    public String getBank()
    {
        return bank;
    }
    public void setBankNumber(String bankNumber)
    {
        this.bankNumber = bankNumber;
    }

    public String getBankNumber()
    {
        return bankNumber;
    }
    public void setUserEmail(String userEmail)
    {
        this.userEmail = userEmail;
    }

    public String getUserEmail()
    {
        return userEmail;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserType(String userType)
    {
        this.userType = userType;
    }

    public String getUserType()
    {
        return userType;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setAmount(BigDecimal amount)
    {
        this.amount = amount;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setTakType(Long takType)
    {
        this.takType = takType;
    }

    public Long getTakType()
    {
        return takType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createdAt", getCreatedAt())
                .append("updatedAt", getUpdatedAt())
                .append("takName", getTakName())
                .append("taxNumber", getTaxNumber())
                .append("address", getAddress())
                .append("mobile", getMobile())
                .append("bank", getBank())
                .append("bankNumber", getBankNumber())
                .append("userEmail", getUserEmail())
                .append("userId", getUserId())
                .append("userType", getUserType())
                .append("orderNo", getOrderNo())
                .append("status", getStatus())
                .append("amount", getAmount())
                .append("companyId", getCompanyId())
                .append("takType", getTakType())
                .toString();
    }
}
